#include <bits/stdc++.h>
using namespace std;
#define PI 3.1415926
#define   SQUARE(x) ((x)*(x))
//double SQUARE(double x) { return x*x;}

double ans;
int main()
{
	int a,n;
	double a0;
	scanf("%lf%d", &a0, &n);
	ans = a0;
	for(int i=0; i<n; i++){
		ans += ans*0.001;
	}
	printf("%.4lf", ans );
  return 0;
}
